projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ab20f
)
gtkpango: Count letters properly
author
Benjamin Otte
<otte@redhat.com>
Thu, 7 Jul 2011 01:37:52 +0000
(
03:37
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 7 Jul 2011 01:37:52 +0000
(
03:37
+0200)
The code was using the wrong variable and that then caused assertions
gtk/gtkpango.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpango.c
b/gtk/gtkpango.c
index 70cd464205e3c23db1304864706e613e6b0281ab..6af3a8337c8d703e4e46ba56181ebbb2e65fd8fe 100644
(file)
--- a/
gtk/gtkpango.c
+++ b/
gtk/gtkpango.c
@@
-1235,7
+1235,7
@@
_gtk_pango_get_text_at (PangoLayout *layout,
switch (boundary_type)
{
case ATK_TEXT_BOUNDARY_CHAR:
-
start = _gtk_pango_move_chars (layout, start
, 1);
+
end = _gtk_pango_move_chars (layout, end
, 1);
break;
case ATK_TEXT_BOUNDARY_WORD_START: